package com.oneday.nuo.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;


/**
 * (NuoRoleMenu)表数据库访问层
 *
 * @author liushuai
 * @since 2021-03-13 23:37:45
 */
@ApiModel(value = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class NuoRoleMenuDTO {
    private static final long serialVersionUID = 142322880871834726L;


    /**
     * 主键id主键
     */
    @NotNull(message = "{id.require}")
    @ApiModelProperty(value = "主键id主键")
    private String id;
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    private String roleId;
    /**
     * 菜单id
     */
    @ApiModelProperty(value = "菜单id")
    private String menuId;
}